home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Columbia Kermit
/
kermit.zip
/
newsgroups
/
misc.19981211-19990422
/
000103_news@newsmaster….columbia.edu _Thu Jan 7 11:46:54 1999.msg
< prev
next >
Wrap
Internet Message Format
|
2020-01-01
|
3KB
Return-Path: <news@newsmaster.cc.columbia.edu>
Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.35.30])
by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id LAA24977
for <kermit.misc@watsun.cc.columbia.edu>; Thu, 7 Jan 1999 11:46:54 -0500 (EST)
Received: (from news@localhost)
by newsmaster.cc.columbia.edu (8.8.5/8.8.5) id LAA17719
for kermit.misc@watsun; Thu, 7 Jan 1999 11:46:53 -0500 (EST)
Path: newsmaster.cc.columbia.edu!watsun.cc.columbia.edu!fdc
From: fdc@watsun.cc.columbia.edu (Frank da Cruz)
Newsgroups: comp.protocols.kermit.misc
Subject: Re: Scripting suggestions?
Date: 7 Jan 1999 16:46:52 GMT
Organization: Columbia University
Lines: 53
Message-ID: <772ods$nur$1@apakabar.cc.columbia.edu>
NNTP-Posting-Host: watsun.cc.columbia.edu
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:9733
The following mail is posted here since the user's site, AFCC.COM,
does not accept mail:
Unable to deliver the message due to a communications failure
MSEXCH:IMS:AFCC:CORE:Z1111141 0 (00120339) Too Many Hops
Mail to the postmaster bounces in the same way. We do our best to reply
to all mail, but in this case it does not appear to be possible.
Date: Thu, 7 Jan 99 11:26:37 EST
From: Kermit Software Support <kermit-support@columbia.edu>
To: "Swindle, Denny" <Denny_Swindle@AFCC.com>
Subject: Re: Scripting Suggestions?
In-Reply-To: Your message of Thu, 7 Jan 1999 10:17:47 -0600
Cc: kermit-support@columbia.edu
Reply-To: kermit-support@columbia.edu
> I have several automated scripts that get executed each morning. (These
> scripts were written by another gentleman that is no longer with our
> company. This project was given to me...so I am trying to learn Kermit.)
>
> These scripts are a combination of input and output commands. Each script
> connects to a bank, waits (inputs) for certain bank prompts, and then
> outputs the appropriate response. Some scripts can be rather large.
> Sometimes, it is necessary for us to change our password that we use with
> the bank, but we can only do this while connected with the bank. So I have
> a "manual" script that puts the user in "connect" mode with the bank. The
> user must type in each response to each prompt that is sent. However, some
> of our scripts can be rather long and laborious. Is there a not a way that
> I can "take" a script...and then at the appropriate time, the user could
> somehow "control-break" into the take process....type out the new
> password...and then hit enter or something and the take process could
> continue after the step where it was orignally broken? I am really new to
> kermit...so I am really trying to learn!
>
> We use C-Kermit 6.0.192 for HP-UX 10.00. I have enclosed a sample script.
> As in the sample.txt file, would it be possible when I receive the "DATE >"
> prompt to break into the script, type out the date I want, and then resume
> the take process at the "pause 2" command right after the output \13?
>
Something like this should work:
echo Press any key within 10 seconds to enter CONNECT mode at this point...
pause 10
if fail connect
echo Proceeding with script...
PAUSE fails if a key is pressed during the pause interval, otherwise it
succeeds.
- Frank